

package top.continew.admin.question.dify.workflow.resp;

import com.alibaba.fastjson2.annotation.JSONField;
import lombok.Data;

import java.util.List;

/**
 * 学习总结响应类
 * 对应Dify返回的学习总结结构
 */
@Data
public class QuestionSummaryResp {

    /**
     * 总体评估
     */
    @JSONField(name = "overall_assessment")
    private String overallAssessment;

    /**
     * 学习总结
     */
    private String summarize;

    /**
     * 学习建议
     */
    @JSONField(name = "learning_suggestions")
    private List<KnowledgeItem> learningSuggestions;

    /**
     * 推荐学习
     */
    @JSONField(name = "recommended_learning")
    private List<KnowledgeItem> recommendedLearning;

    /**
     * 知识点项
     */
    @Data
    public static class KnowledgeItem {
        /**
         * 知识点ID
         */
        private Long id;

        /**
         * 知识点名称
         */
        private String name;
    }
}